package com.moss.cloud.common.file.model;

/**
 * @author chengming
 * @since 2024/3/5
 */

public class GoFastDfsUploadResult {
    /**
     * 域名
     */
    private String domain;

    /**
     * md5
     */
    private String md5;

    /**
     * 时间戳
     */
    private Long mtime;

    /**
     * 路径
     */
    private String path;

    /**
     * 返回码
     */
    private Integer retcode;

    /**
     * 返回信息
     */
    private String retmsg;

    /**
     * 场景
     */
    private String scene;

    /**
     * 文件大小
     */
    private Long size;

    /**
     * 文件路径
     */
    private String src;

    /**
     * 下载url
     */
    private String url;

    public GoFastDfsUploadResult(String domain, String md5, Long mtime, String path, Integer retcode, String retmsg, String scene, Long size, String src, String url) {
        this.domain = domain;
        this.md5 = md5;
        this.mtime = mtime;
        this.path = path;
        this.retcode = retcode;
        this.retmsg = retmsg;
        this.scene = scene;
        this.size = size;
        this.src = src;
        this.url = url;
    }

    public String getDomain() {
        return domain;
    }

    public void setDomain(String domain) {
        this.domain = domain;
    }

    public String getMd5() {
        return md5;
    }

    public void setMd5(String md5) {
        this.md5 = md5;
    }

    public Long getMtime() {
        return mtime;
    }

    public void setMtime(Long mtime) {
        this.mtime = mtime;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public Integer getRetcode() {
        return retcode;
    }

    public void setRetcode(Integer retcode) {
        this.retcode = retcode;
    }

    public String getRetmsg() {
        return retmsg;
    }

    public void setRetmsg(String retmsg) {
        this.retmsg = retmsg;
    }

    public String getScene() {
        return scene;
    }

    public void setScene(String scene) {
        this.scene = scene;
    }

    public Long getSize() {
        return size;
    }

    public void setSize(Long size) {
        this.size = size;
    }

    public String getSrc() {
        return src;
    }

    public void setSrc(String src) {
        this.src = src;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }
}
